﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class my_news_list : AdminpageBase
{
    protected string strtitle = "";
    protected List<Model.NewsSite> tzlist = null;
    protected long classid = ReadRequest.RequestLong("cid");
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            inidata();
        }
    }
    private void inidata()
    {             
        Model.Newsclass nclass=  BLL.Newsclass.GetModel(classid);
        if (nclass != null)
        {
            int totalcount = 0;
            tzlist = BLL.NewsSite.GetPageList_Where(0, int.MaxValue, classid, out totalcount);
            strtitle = nclass.classname;
        }
    }
}